package com.example.hosptial.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

@Configuration
public class DeepSeekConfig {
    @Value("${deepseek.host:localhost}")
    private String host;

    @Value("${deepseek.port:5000}")
    private String port;

    public String getHost() {
        return host;
    }

    public String getPort() {
        return port;
    }

    public String getBaseUrl() {
        return "http://" + host + ":" + port;
    }
} 